#ifndef __WATCHER_H__
#define __WATCHER_H__

/* -- INCLUDES -------------------------------------------------------------- */

/* -- DEFINES --------------------------------------------------------------- */
#define IN_EVENT_NUM		1024
#define IN_NAME_MIN_SIZE	16
#define IN_EVENT_SIZE		(sizeof(struct inotify_event))
#define IN_EVENT_BUF_SIZE	(IN_EVENT_NUM * ( IN_EVENT_SIZE + IN_NAME_MIN_SIZE ))

/* -- TYPES ----------------------------------------------------------------- */

/* -- PROTOTYPES ------------------------------------------------------------ */
int Watcher( char * directory, int msgq );

#endif /* __WATCHER_H__ */
